Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/support http proxy #29

Merged
merged 7 commits into from
Dec 12, 2024
Merged

Conversation

ryanbekhen
Copy link
Owner

No description provided.

Introduced an HTTP proxy server alongside the existing SOCKS5 implementation. Refactored and renamed packages (e.g., credentials, resolver) for better modularity and reuse across proxies. Added HTTP basic authentication support and improved logging for both modes.
Updated the README to include details about HTTP proxy support in NanoProxy. Added sections on data flow, configuration changes, authentication, and usage examples for HTTP proxying. Enhanced clarity in differentiating between SOCKS5 and HTTP functionalities.
Enhanced test coverage with detailed mocks for `httpproxy` and `tor`, ensuring edge cases like invalid URLs, authentication handling, and DNS resolution are fully tested. Adjusted error messages in the proxy for better clarity during failures. Reduced package level test coverage threshold in `.testcoverage.yml`.
Refactored HTTP server initialization to include proper timeouts for improved stability and resource management. Updated logging message for SOCKS5 server to use consistent capitalization. Removed redundant build directive for cleaner code.
Updated the Docker run commands in the README to expose port 8080 alongside port 1080. This ensures better configurability and support for additional features or services requiring port 8080.
Updated the dependency golang.org/x/crypto from v0.30.0 to v0.31.0 for compatibility and security improvements. Removed unused indirect dependency github.com/stretchr/objx to clean up the go.mod and go.sum files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant